package com.ehome.poct.base.api.qry;


import cn.hutool.core.util.DesensitizedUtil;
import com.ehome.core.constant.FilterRules;
import com.ehome.core.annotations.FastQry;
import com.ehome.join.annotation.JoinField;
import com.ehome.join.annotation.JoinKey;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class LogSyncRecordQry {

    @ApiModelProperty("设备编号")
    private String sno;

    @ApiModelProperty("终端联系电话")
    @JoinField(value = "phone",desensitized = true,desensitizedType = DesensitizedUtil.DesensitizedType.MOBILE_PHONE)
    private String termPhone;

    @ApiModelProperty("终端名称")
    @JoinField("name")
    private String termName;

    @FastQry(value = FilterRules.IN,field = "termClinicId")
    @JoinKey(joinKey = "termClinicId")
    private List<Long> termClinicIds;
}
